<template>
    <div>
        <li v-for='i in list'>{{i}}</li>
    </div>
</template>
<script>
    import mapState from 'vuex'
    export default{
        mounted:function(){
            this.$store.dispatch('reqList')
        },
        computed:mapState(['list'])
    }
</script>
<style scoped>
        
</style>